import { createApp } from 'vue';
import '@/assets/style/index.scss';
import '@/assets/style/theme.scss'; // 换肤

import { createPinia } from 'pinia';

import App from './App.vue';
import router from './router';

const app = createApp(App);

app.use(createPinia());
app.use(router);

// 全局引入element-plus
// import ElementPlus from 'element-plus';
// import 'element-plus/dist/index.css';
// app.use(ElementPlus);

import 'element-plus/theme-chalk/dark/css-vars.css'; // 引入暗黑主题 element-plus

app.mount('#app');
